package com.zxx.pattern.flyweight.fly1;

/**
 * 享元实现类：
 *
 * @author zxx on 2021/7/16
 */
public class MyCharImpl implements MyChar {

    private Character character;

    public MyCharImpl(Character character) {
        this.character = character;
    }

    @Override
    public String showMyChar() {
        return this.character + "";
    }
}
